package org.bridge.db.bean.xml;

import java.io.Serializable;

public class DbParam implements Comparable,Serializable{

	private int pos ;
	private String value;
	public int getPos() {
		return pos;
	}
	public void setPos(int pos) {
		this.pos = pos;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public int compareTo(Object o) {
		if (o instanceof DbParam) {
			DbParam other = (DbParam) o;
			return getPos()-other.getPos();
		}
		return 0;
	}
}
